<div class="wrapper-header">
  <div class="container">
    <ul class="nav nav-pills">
      <li role="presentation" class="active"><a href="#tab1" data-toggle="tab">政策文件库</a></li>
      <li role="presentation"><a href="#tab2" data-toggle="tab">案例指标库 </a></li>
      <li role="presentation"><a href="#tab3" data-toggle="tab">研究成果库</a></li>
      <li role="presentation"><a href="#tab4" data-toggle="tab">新闻动态库 </a></li>
    </ul>
  </div>
</div>
<div class="wrapper-body">
  <div class="container">
    
    <div class="main">
      <div class="tab-content">
        <div class="tab-pane fade in active" id="tab1">
          <div class="container-fluid">
            <div class="pagebar row">
              [@b.form action="!search" name="search_in_result_form"]
              <div class="col-xs-2 sort-control">
                <select class="form-control">
                  <option>默认排序</option>
                  <option>最新发布</option>
                  <option>被引用次数</option>
                  <option>评分最高</option>
                  <option>最多下载</option>
                </select>
              </div>
              <div class="col-xs-2 field-filter">
                <input type="text" class="form-control" placeholder="名称" name="policy.policyname" value="${Parameters['policy.policyname']!}">
              </div>
              <div class="col-xs-2 field-filter">
                <input type="text" class="form-control" placeholder="作者">
              </div>
              <div class="col-xs-2 field-filter">
                <input type="text" class="form-control" placeholder="关键字">
              </div>
              <div class="pull-right">
                <button type="submit" onclick ="bg.form.submit(document.search_in_result_form)" class="btn btn-default"><i class="fa fa-search"></i> 在结果中搜索</button>
              </div>
              [/@]
            </div>
          </div>
          <ol class="list-unstyled">
            [#list policies as policy] 
            <li class="row">
              <h5>
                <span class="index-no"></span>
                <span class="label label-primary">阅读全文</span>
                [@b.a href="!info?id="+policy.id class="title"]${policy.policyname}[/@]
                <span>(被引用 1 次)</span>
              </h5>
              <div class="col-xs-10 col-md-11 info-content">
                <div class="author">
                  <a href="#">${policy.docnumber!}</a> / <a href="#">${policy.docoffice!}</a> / <a href="#">${policy.docdate?string('yyyy年MM月dd日')!}</a>
                </div>
                <div class="summary">
                  提出一套适用于在海量光谱中快速发现激变变星的方法.针对SDSS发布的DR8数据,尝试流型学习方法在海量光谱数据挖掘中的应用.首先使用非线性局部线性嵌入方法(LLE)对海量光谱数据进行降维,然后使用人工神经网络对低维数据...
                </div>
              </div>
              <div class="pull-right action-bar">
                <ul class="list-unstyled">
                  <li><a href="#" class="text-info"><i class="fa fa-download"></i>下载</a></li>
                  <li><a href="#" class="text-info"><i class="fa fa-file-text-o"></i>全文</a></li>
                  <li><a href="#" class="text-info"><i class="fa fa-share-alt"></i>下载</a></li>
                </ul>
              </div>
              <div class="tags">
                <a href="#" class="btn btn-default">绩效管理</a>
                <a href="#" class="btn btn-default">国培计划</a>
                <a href="#" class="btn btn-default">绩效考评</a>
              </div>
            </li>
            [/#list]
          </ol>
          <div class="pagination-bar row">
            [#assign currentPageIndex=policies.pageIndex/]
            [#assign totalPageIndex=policies.totalPages/]
            <ul class="pagination">
              <li>[@b.a href="!search?pageIndex=1"]首页[/@]</li>
              [#if currentPageIndex>1]
              <li>[@b.a href="!search?pageIndex=" +(currentPageIndex-1)]上一页[/@]</li>
              [/#if]
              [#list currentPageIndex-3 .. currentPageIndex-1 as i]
              [#if i>0]
              <li>[@b.a href="!search?pageIndex=" +(i)]${i}[/@]</li>
              [#else] [#break/]
              [/#if]
              [/#list]
              <li class="active"><a href="#">${currentPageIndex}</a></li>
              [#list currentPageIndex+1 .. currentPageIndex+3 as i]
              [#if i<=totalPageIndex]
              <li>[@b.a href="!search?pageIndex=" +(i)]${i}[/@]</li>
              [#else] [#break/]
              [/#if]
              [/#list]
              [#if currentPageIndex<totalPageIndex]
              <li>[@b.a href="!search?pageIndex=" +(currentPageIndex+1)]下一页[/@]</li>
              [/#if]
              <li>[@b.a href="!search?pageIndex="+totalPageIndex]尾页[/@]</li>
            </ul>
          </div>
        </div>
        
        <div class="tab-pane fade" id="tab2">
          <div class="container-fluid">
            <div class="pagebar row">
              <div class="col-xs-2 sort-control">
                <select class="form-control">
                  <option>默认排序</option>
                  <option>最新发布</option>
                  <option>被引用次数</option>
                  <option>评分最高</option>
                  <option>最多下载</option>
                </select>
              </div>
              <div class="col-xs-2 field-filter">
                <input type="text" class="form-control" placeholder="项目名称">
              </div>
              <div class="col-xs-2 field-filter">
                <input type="text" class="form-control" placeholder="评价类型">
              </div>
              <div class="col-xs-2 field-filter">
                <input type="text" class="form-control" placeholder="关键字">
              </div>
              <div class="col-xs-4" style="padding-right:0;text-align:right">
                <button type="submit" class="btn btn-default">在结果中搜索</button>
              </div>
            </div>
          </div>
           <ol class="list-unstyled">
            [#list cazes as caze] 
            <li class="row">
              <h5>
                <span class="index-no"></span>
                <span class="label label-primary">阅读全文</span>
                [@b.a href="!info?id="+caze.id class="title"]${caze.name}[/@]
                <span>(被引用 1 次)</span>
              </h5>
              <div class="col-xs-10 col-md-11 info-content">
                <div class="author">
                  <a href="#">${caze.city!}</a> / <a href="#">${caze.country!}</a> / <a href="#">${caze.evaluationtype !}</a> / 来源：<a href="#">${caze.website !}</a>
                </div>
                <div class="summary">
               财政项目支出绩效评价结果信息公开情况表-2013年浦东新区“两新”组织党建工作专项经费
                </div>
              </div>
              <div class="pull-right action-bar">
                <ul class="list-unstyled">
                  <li><a href="#" class="text-info"><i class="fa fa-download"></i>下载</a></li>
                  <li><a href="#" class="text-info"><i class="fa fa-file-text-o"></i>全文</a></li>
                  <li><a href="#" class="text-info"><i class="fa fa-share-alt"></i>下载</a></li>
                </ul>
              </div>
              <div class="tags">
                <a href="#" class="btn btn-default">绩效管理</a>
                <a href="#" class="btn btn-default">国培计划</a>
                <a href="#" class="btn btn-default">绩效考评</a>
              </div>
            </li>
            [/#list]
          </ol>
          <div class="pagination-bar row">
            [#assign currentPageIndex=policies.pageIndex/]
            [#assign totalPageIndex=policies.totalPages/]
            <ul class="pagination">
              <li>[@b.a href="!search?pageNo=1"]首页${currentPageIndex}[/@]</li>
              [#if currentPageIndex>1]
              <li>[@b.a href="!search?pageNo=" +(currentPageIndex-1)]上一页[/@]</li>
              [/#if]
              <li class="active"><a href="#">1</a></li>
              <li><a href="#">2</a></li>
              <li><a href="#">3</a></li>
              <li><a href="#">4</a></li>
              <li><a href="#">5</a></li>
              <li><a href="#">...</a></li>
              [#if currentPageIndex<totalPageIndex]
              <li>[@b.a href="!search?pageNo=" +(currentPageIndex+1)]上一页[/@]</li>
              [/#if]
              <li><a href="#">尾页</a></li>
            </ul>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
